home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9359 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: galileo.polito.it!not-for-mail
  2. From: tweety@ALPcom.it (Jurgen Schwietering)
  3. Newsgroups: comp.os.msdos.programmer,comp.lang.c
  4. Subject: Re: SUUMMARY - my structure and pointer problems cured.
  5. Followup-To: comp.os.msdos.programmer,comp.lang.c
  6. Date: 9 Mar 1996 18:23:10 GMT
  7. Organization: ALPcom - The Network Provider
  8. Message-ID: <4hsiae$nbs@galileo.polito.it>
  9. References: <4hr0v5$4gf@news.mistral.co.uk>
  10. NNTP-Posting-Host: monviso.alpcom.it
  11. X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
  12.  
  13. Mike Barnard (mikebarnard@mistral.co.uk) wrote:
  14. : It was because I was using seperate source files for each of
  15. : the functions. I assumed that because the structure had been
  16. : defined 'upwind' of the function that wanted to use it the
  17. : compiler would just take the data from each file, make a
  18. : program and the scope would be OK . Oh, no! In Borland at
  19. : least (I don't know about other compilers) structure
  20.                       ^^^^^^^^^^^^^^^^^^^^^
  21. : definitions, includes and god only knows what else is only
  22. : valid for the source file it is in. Split into multiple
  23. : source files and you have to repeat the declarations.
  24. Every compiler...  ;-)
  25. Jurgen
  26.  
  27.